{* Smarty *}
{include file="admin/admin-header.tpl" menu_here="reputations"}
<div id="main">
	<h1>积分设置</h1>

	<form action="/dr-admin/dr-page-admin-reputations.php" method="post">
		<table>
			<tbody>
			<tr>
				<td>发表问题：</td>
				<td><input type="text" name="question_send" id="question_send"
				           value="{$reputations.question_send}"/></td>
			</tr>
			<tr>
				<td>发表回答：</td>
				<td><input type="text" name="answer_send" id="answer_send"
				           value="{$reputations.answer_send}"/></td>
			</tr>
			<tr>
				<td>发表评论：</td>
				<td><input type="text" name="comment_send" id="comment_send"
				           value="{$reputations.comment_send}"/></td>
			</tr>
			<tr>
				<td>问题/回答——顶：</td>
				<td><input type="text" name="upvote_send" id="upvote_send"
				           value="{$reputations.upvote_send}"/></td>
			</tr>
			<tr>
				<td>问题/回答——踩：</td>
				<td><input type="text" name="downvote_send" id="downvote_send"
				           value="{$reputations.downvote_send}"/></td>
			</tr>
			<tr>
				<td>问题/回答——被顶：</td>
				<td><input type="text" name="upvote_get" id="upvote_get"
				           value="{$reputations.upvote_get}"/></td>
			</tr>
			<tr>
				<td>问题/回答——被踩：</td>
				<td><input type="text" name="downvote_get" id="downvote_get"
				           value="{$reputations.downvote_get}"/></td>
			</tr>
			</tbody>
		</table>
		<input type="submit" name="submit" id="submit" value="保存并重新统计积分"/>
	</form>
</div>
{include file="admin/admin-footer.tpl"}